package com.cloud.enums;

/**
 * 消息发送方式
 *
 * @author yzj
 */
public enum NoticeMode {

    SYSTEM(0, "系统"),
    SMS(1, "短信"),
    WECHAT(2, "微信"),
    EMAIL(3, "邮件"),
    DING_TALK_MSG(4, "浙政钉");

    private final Integer code;
    private final String info;

    NoticeMode(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
